package com.hdoit.pisces.logical.rel.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.tennetcn.common.message.ModelBase;

@Entity
@Table(name="relation")
public class Relationship extends ModelBase{
	
	@Id
	@Column(name="relationshipId")
	private String relationshipId;
	
	
	@Column(name="employeeId")
	private String employeeId;
	
	@Column(name="relativeId")
	private String relativeId;
	
	@Column(name="relationship")
	private String relationship;

	@Column(name="employeeName")
	private String employeeName;

	@Column(name="relative_firstName")
	private String relative_firstName;
	
	@Column(name="relative_lastName")
	private String relative_lastName;
	
	
	public String getRelative_lastName() {
		return relative_lastName;
	}

	public void setRelative_lastName(String relative_lastName) {
		this.relative_lastName = relative_lastName;
	}

	public String getRelative_firstName() {
		return relative_firstName;
	}

	public void setRelative_firstName(String relative_firstName) {
		this.relative_firstName = relative_firstName;
	}

	public String getRelationshipId() {
		return relationshipId;
	}

	
	
	public void setRelationshipId(String relationshipId) {
		this.relationshipId = relationshipId;
	}


	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}


	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
		
	}


	public String getRelativeId() {
		return relativeId;
	}

	public void setRelativeId(String relativeId) {
		this.relativeId = relativeId;
	}

	public String getRelationship() {
		return relationship;
	}

	public void setRelationship(String relationship) {
		this.relationship = relationship;
	}
	
	

}
